package com.ebpm.designer.dir
{
	import com.ebpm.designer.WF;
	import com.ebpm.designer.WP;
	import com.ebpm.designer.line.Line;
	
	import flash.events.MouseEvent;
	
	//线 起始点拖拽框
	public class LineFromDir extends LineMiddleDir
	{
		public function LineFromDir(line:Line, imgType:String)
		{
			super(line, imgType);
		}
		
		override public function _mouseDown(event:MouseEvent):void
		{
			WP.isAllowSelectNodeContainers = false;
			this.line.addDir();
			this.line.isFirstMove = true;
			WP.isMovingFromLineDir = true;
			WF.wp.selectLine = this.line;	
		}
		
		override public function _mouseUp(event:MouseEvent):void
		{
			this.line.removeDir();
		}
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	}
}